<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class CoOrderComments extends Model
{
    public function get_userorder($user_id,$order_type=0){
        self::where('user_id',$user_id)
            ->where('order_type',$order_type)
//            ->select('id','order_no',)
            ->paginate(10);
    }
}
